package com.dengyafei.service;

import com.dengyafei.bean.AccountBean;

import java.util.List;

/**
 * @author 邓亚非
 */
public interface AccountService {

    boolean insertAccount(AccountBean accountBean);

    boolean deleteAccount(Integer id);

    boolean updateAccount(AccountBean accountBean);

    List<AccountBean> selectAccount(Integer id, String password);

    List<AccountBean> selectById(Integer id);
}
